package anji.plus.system.mark.controller;


import anji.plus.system.mark.base.BaseController;
import anji.plus.system.mark.base.Header;
import anji.plus.system.mark.base.IBaseService;
import anji.plus.system.mark.domain.SysUser;
import anji.plus.system.mark.response.ResponseCode;
import anji.plus.system.mark.response.ResponseResult;
import anji.plus.system.mark.service.IAccountService;
import anji.plus.system.mark.service.ISysUserService;
import anji.plus.system.mark.utils.LoginUtils;
import anji.plus.system.mark.utils.PassportUtil;
import anji.plus.system.mark.utils.RedisUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * <p>
 * 系统用户表 前端控制器
 * </p>
 *
 * @author luwei
 * @since 2023-11-08
 */
@RestController
@RequestMapping("sys/account")
public class AccountController extends BaseController {


    @Resource
    private IAccountService accountService;

    @Override
    public IBaseService getService() {
        return null;
    }

    /**
     * 查询 资金池账户金额
     */
    @GetMapping({"queryAccount"})
    public ResponseResult queryAccount() {
        return ResponseResult.success(accountService.queryAccount());
    }






}


